package com.to8to.scene.server;

import com.mongodb.WriteResult;

public class UpdateResult {
	/**
	 * 数据id
	 */
	private String id;
	/**
	 * 更新结果
	 */
	private WriteResult writeResult;
	
	/**
	 * 更新数
	 */
	private int updateNum;

	/**
	 * @return the {@link #updateNum}
	 */
	public int getUpdateNum() {
		return updateNum;
	}

	/**
	 * @param updateNum the {@link #updateNum} to set
	 */
	public void setUpdateNum(int updateNum) {
		this.updateNum = updateNum;
	}

	/**
	 * @return the {@link #id}
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the {@link #id} to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the {@link #writeResult}
	 */
	public WriteResult getWriteResult() {
		return writeResult;
	}

	/**
	 * @param writeResult
	 *            the {@link #writeResult} to set
	 */
	public void setWriteResult(WriteResult writeResult) {
		this.writeResult = writeResult;
	}
}

